Crop
Crop out image to create smaller ones.
Node Data | |
---|---|
TransformArray | |
Display name | |
Crop | |
Internal name | |
Node_Crop | |
Inheritances | |
node | |
node_processor | |
node_crop | |
Inputs | |
node_crop | |
surface |
Surface In |
padding |
Crop |
bool |
Active |
enum |
Aspect Ratio |
vec2 |
Ratio |
vec2 |
Center |
float |
Width |
enum |
Fit Mode |
Outputs | |
node_crop | |
surface |
Surface Out |
This node crops the input image into smaller piece. If you want to crop image into area, you can use the Camera node.
Properties
Aspect Ratio
If not set to "none", the aspect ratio of the crop area will be locked to the specified value.
Crop
A vec4 value the define crop distance from the left, top, right, and bottom of the image.
Fit Mode
For locked aspect ratio, this will determine how the image will be fit into the crop area.